﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RuoVea.ExWeb.Jwt
{
    /// <summary>
    /// 令牌
    /// </summary>
    public class TokenModel
    {
        /// <summary>
        /// Id
        /// </summary>
        public string Id { get; set; }

        /// <summary>
        /// 用户名
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 角色 多个角色用逗号分开
        /// </summary>
        public string Roles { get; set; }

        /// <summary>
        /// 其他的内容
        /// </summary>
        public object Claims { get; set; }
    }
}
